
<link rel="stylesheet" href="/themes/qifa/css/bootstrap-datetimepicker.css">

<div class="member-main member-main2" id="J_DataTable">
    <input type="hidden" class="suppliers">
	<div class="member_welhead"><ins></ins><b><{t}>已确认订单 Подтвержден заказ<{/t}></b> </div>
	<form action="" method="post" class="">
		<div class="form-group control-group">
			<label><{t}>库存确认时间：<{/t}></label>
             <input size="16" type="text" value="<{$confirm_time}>" name="confirm_time"  class="controls input-append date form_datetime x-input form-control" data-date="05-01-2017" data-date-format="dd-MM-yyyy" data-link-field="dtp_input1">

		</div>
		<div class="form-group">
			<button type="submit"  class="btn btn-primary pull-right"><span><span><{t}>搜索 Поиск<{/t}></span></span></button>
			<div class="clearfix"></div>
		</div>
	</form>
	<div class="page-article" id="main">
		<div id="member_notify" class="member-notify">
			<{if $goods}>
			<input type="hidden" id="obj_id" name="obj_id" value="">
			<input type="hidden" id="opt" name="opt" value="all">
			<div class="member-mod table-responsive">
				<table class="member-grid table table-hover table-bordered table-striped" >
					<thead>
					<tr>
                        <th><{t}>订单 Заказ<{/t}></th>
						<th><{t}>商品 Товар<{/t}></th>
						<th><{t}>数量 Количество<{/t}></th>
                        <th><{t}> 结算单价（每双）Цена расчета/пара<{/t}></th>
						<th><{t}>确认库存 Подтверждение остатка<{/t}></th>
					</tr>
					</thead>
					<tbody>
					<{foreach from=$goods item=items}>
					<tr ggid="<{$items.goods_id}>" class="ggid" rg_id="">
                        <!--销售订单号-->
                        <td>
							销售订单号 Номер заказа: <br/><{$items.mainOrder_id}><br/>
                            下单时间 Время заказа: <br/><{$items.createtime|cdate}><br/>
							库存确认时间: <br/><{$items.confirm_time|cdate}>
                        </td>
						<td>

							<div class="p-pic fl">
								<img alt="<{$items.name}>" src="<{$items.image_default_id}>">
							</div>
							<div class="fl">
								<!--商品名称-->
								<{$items.name}><br/>
								<!--品牌-->
								品牌 Бренд: <{$items.goods.brand.brand_name}><br/>
								<!--货品编码-->
                                货品编码 Артикул: <{$items.bn}><br/>
								<!-- 价格-->
								价格 Цена за короб.:  <{$items.price|cur_odr}><br/>
                                季节 Сезон:  <{$items.season}><br/>
                                <div class="size_all suppliers_table">
									<table class="table table-hover table-striped table-condensed table-bordered">
										<{foreach from=$items.goods.params key=key item=item}>
										<thead>
										<tr class="small">
											<{foreach from=$item key=key2 item=item2}>
											<{if !empty($item2) && $item2 > 0 && $key2 != "Кол-во в упаковке" }>
											<th><{$key2}></th>
											<{/if}>
											<{/foreach}>
										</tr>
										</thead>
										<tbody>
										<tr class="small">
											<{foreach from=$item key=key2 item=item2}>
											<{if !empty($item2) && $item2 > 0 && $key2 != "Кол-во в упаковке" }>
											<td><{$item2}></td>
											<{/if}>
											<{/foreach}>
										</tr>
										</tbody>
										<{/foreach}>
									</table>
                                </div>
							</div>
							<!-- <{$items.goods.image_default_id|storager:'s'}>-->

						</td>
						<!--  每包数量-->
						<!-- <td><{$items.goods.unit_num}></td>-->
						<!--确认数量原始-->
						<td><{$items.quantity}></td>
						<!--供应商手动输入的数量-->
                        <td><{$items.goods.cost|cur_odr}></td>
						<td>
							<{$items.has_confirm_num}>
							<input type="hidden" name="r_goods_id" value="" id="rnd"/>
						</td>

						<!--	<td rowspan="2"><{$items.createtime|cdate}></td>
                            <td>&lt;!&ndash;<img src="<{$items.goods.image_default_id|storager:'s'}>"/>&ndash;&gt;<{$items.bn}></td>
                            <td><{$items.goods.brand.brand_name}></td>
                            <td><{$items.goods.unit_num}></td>-->
					</tr>
					<!--<tr ggid="<{$items.goods_id}>">
						<td><{$items.price|cur_odr}></td>
						<td><{t}>确认数量：<{/t}></td>
						<td><{$items.has_confirm_num}></td>
					</tr>-->
					<{/foreach}>
					</tbody>
				</table>
			</div>
			<{pagers data=$pager}>共<{$count}>条记录
			<{else}>
			<{t}>暂无商品<{/t}>
			<{/if}>
		</div>
	</div>
</div>
<script type="text/javascript" src ="/themes/qifa/js/bootstrap-datetimepicker.js"></script>
<script>
	//  ===============================列表页面图片变大效果=======================================================
	jQuery(".member-grid  tr td .p-pic").hover(function(){
		var owntop=jQuery(window).height()-(jQuery(this).offset().top - jQuery(document).scrollTop()+50);
		var new_img= jQuery(this).clone();
		jQuery(this).parent().append(new_img);
		jQuery(this).siblings('.p-pic').addClass('letbig').stop().animate({width:160, height:160,top:68,left:68},0);
	},function(){
		jQuery(this).siblings('.p-pic').remove();
	});
    jQuery.fn.datetimepicker.dates['en'] = {
        days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
        daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
        daysMin:  ["日", "一", "二", "三", "四", "五", "六", "日"],
        months: ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"],
        monthsShort: ["01", "02", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
        today: "今天",
        suffix: [],
        meridiem: ["上午", "下午"]
    };
    jQuery('.form_datetime').datetimepicker({
        language:  'fr',
        weekStart: 1,
        todayBtn: 0,
        autoclose: 1,
        linked:'linked',
        todayHighlight: 1,
        startView: 2,
        minView: 2,
        forceParse: 0,
        showMeridian: 1
    });
</script>